#ifndef __DEVICE_H__
#define __DEVICE_H__

#include "Supports/Header.h"
#include "Supports/OpenGLES.h"

class Device
{
private:
	static Device* m_pInstance;
protected:
	Device();
public:
	virtual ~Device();
	static Device* GetInstance()
	{
		if (!m_pInstance)
		{
			m_pInstance = new Device();
		}
		return m_pInstance;
	}
	virtual __VOID SleepEx(__UINT32 milisec);
	virtual __UINT32 GetTimer();
};

#endif